'use strict'
// const  mongoose  = require('mongoose')
//
// const ObjectId = mongoose.Schema.ObjectId;
const MongoProxy = require("./mongoHelper").MongoProxy;
const sys = require("./entity_sys");
const im = require("./entity_im");


let mor = {
    sys: {
        user: new MongoProxy("userInfo", sys.userInfo),
        loginUser: new MongoProxy("loginUser", sys.loginUser),
        corp: new MongoProxy("corpInfo", sys.corpInfo)
    },
    im: {
        room: new MongoProxy("roomInfo", im.roomInfo),
        message: new MongoProxy("message", im.messageInfo),
        friend: new MongoProxy("friend", im.friendsInfo)
    }
};

Object.assign(exports, mor)
